package com.yikaiye.android.yikaiye.config;

import com.yikaiye.android.yikaiye.application.MyApplication;
import com.yikaiye.android.yikaiye.utils.AppUtils;

public class Constant {
    //=======================================================================友盟================================================================================
    /**
     * 友盟appKey
     */
    public static final String UMENG_APP_KEY = "60a3516b53b672649901ec6e";

    //=======================================================================WeChat==============================================================================
    /**
     * appId 微信分配的公众账号ID
     */
    public static final String WE_CHAT_APP_ID = "wx9af35e13ab141973";
    /**
     * 商户号 微信分配的公众账号ID
     */
    public static final String WE_CHAT_MCH_ID = "1325136201";
    public static final String WE_CHAT_APP_SECRET = "f6dbeac16eba6c26b18d5d53b75dd6ed";

    //=======================================================================QQ================================================================================
    public static final String QQ_APP_ID = "1105720800";
    public static final String QQ_APP_KEY = "NonEQ12dibsVjiwf";

    //=======================================================================微博================================================================================
    /**
     * 微博
     */
    public static final String WEI_BO_APP_ID = "3821433517";
    public static final String WEI_BO_APP_SECRET = "1ac8dbb8dcd3d0658167dc8b2211aa0a";

    /**
     * 接口返回成功值
     */
    public static final int SUCCESS = 1;
    /**
     * 页数
     */
    public static final int PAGE_SIZE = 10;
    /**
     * 是否首次启动
     */
    public static boolean isFirst = true;

    /**
     * 版本号
     */
    public static final String VERSION = "V" + AppUtils.getVersionName(MyApplication.getInstance());
    public static final String PACKAGE = MyApplication.getInstance().getPackageName();
    public static final String APP_PROVIDER = PACKAGE + ".provider";

    /**
     * token失效是否跳转到登录
     */
    public static boolean isJumpToLogin = true;

    /**
     * 服务介绍
     */
    public static String serviceInstruction = "";

    /**
     * 是否是从支付跳转到主页
     */
    public static boolean isFromPay = false;

    /**
     * 我的订单页tab位置
     */
    public static int currentPosition = 0;

    /**
     * 是否是登录的token（KEY dd2b3560-94bc-4925-94f7-ea78e284388c）
     */
    public static boolean isLoginToken = false;

    /**
     * 退出登录
     */
    public static final String logout = "logout";

    /**
     * 是否退出登录
     */
    public static boolean isLogout = false;

    public static final int DELAY_CLICK = 600;

    public static final String phoneNum = "phoneNum";
    public static final String refreshUserInfo = "refreshUserInfo";
    public static final String refreshBillTitle = "refreshBillTitle";
    public static final String closeApplyBillPage = "closeApplyBillPage";
    public static final String finishOrderDetailsPage = "finishOrderDetailsPage";
    public static final String finishServiceDetailsPage = "finishServiceDetailsPage";
    public static final String finishLookProgressDetailsPage = "finishLookProgressDetailsPage";
    public static final String signSuccess = "signSuccess";
    public static final String refresh_order = "refresh_order";
    public static final String service = "service";
    public static final String order = "order";
    public static final String orderList = "orderList";
    public static final String NAME_KEY = "name";
    public static final String ID_KEY = "id";
    public static final String MESSAGE_ID_KEY = "messageId";
    public static final String USER_ID_KEY = "userId";
    public static final String COMPANY_NAME_KEY = "companyName";
    public static final String FROM_KEY = "from";
    public static final String MODEL_KEY = "model";
    public static final String COMPANY_MODEL_KEY = "companyModel";
    public static final String SERVICE_LIST_MODEL_KEY = "serviceListModel";
    public static final String DETAIL_MODEL_KEY = "detailModel";
    public static final String TRACK_USER_NAME_KEY = "trackUserName";
    public static final String TRACK_USER_PHONE_KEY = "trackUserPhone";
    public static final String INVOICE_STATUS_KEY = "kaipiaoStatus";
    public static final String CREDIT_NO_KEY = "creditNo";
    public static final String USER_NAME_KEY = "userName";
    public static final String URL_KEY = "url";
    public static final String STATUS_KEY = "status";
    public static final String RESULT_STATUS_KEY = "resultStatus";
    public static final String DES_KEY = "des";
    public static final String IMG_KEY = "img";
    public static final String IS_FIRST_KEY = "isFirst";
    public static final String EID_KEY = "eid";
    public static final String INDEX_KEY = "index";
    public static final String TAG_KEY = "tag";

    /**
     * 埋点
     */
    public static final String BOTTOM_BAR_HOME = "BottomBar_Home";
    public static final String BOTTOM_BAR_ORDER = "BottomBar_Order";
    public static final String BOTTOM_BAR_MINE = "BottomBar_Mine";
    public static final String APPLY_BILL_CLICK_ADD_TITLE = "Apply_bill_click_add_title";
    public static final String PAGE_DETAILS_CALL = "Page_details_call";
    public static final String DIALOG_PRE_ORDER = "Dialog_pre_order";
    public static final String DIALOG_PRE_ORDER_CANCEL = "Dialog_pre_order_cancel";
    public static final String DIALOG_PRE_ORDER_PAY = "Dialog_pre_order_pay";
    public static final String PAGE_CONFIRM_ORDER = "Page_confirm_order";
    public static final String PAGE_CONFIRM_ORDER_PAY = "Page_confirm_order_pay";
    public static final String PAGE_PRODUCT_DETAIL= "Page_ProductDetail";
    public static final String PAGE_DETAILS_SHARE = "Page_details_share";
    public static final String PRODUCT_LIST_CLICK = "Product_list_click";
    public static final String APPLY_BILL_CLICK_CONFIRM = "Apply_bill_click_confirm";
    public static final String BILL_LOOK_DETAIL = "Bill_look_detail";
    public static final String BILL_AGAIN = "Bill_again";
    public static final String MINE_PAGE_MY_MESSAGE = "Mine_page_my_message";
    public static final String MINE_PAGE_MESSAGE_CLICK_DELETE = "Mine_page_message_click_delete";
    public static final String MY_BILL_CLICK_FILTER = "My_bill_click_filter";
    public static final String REAL_NAME_VERIFIED_CLICK = "Real_name_verified_click";
    public static final String ORDER_CANCEL = "Order_cancel";
    public static final String ORDER_TO_PAY = "Order_to_pay";
    public static final String PAGE_PAY_SUCCESS = "Page_pay_success";
    public static final String PAGE_PAY_FAIL = "Page_pay_fail";
    public static final String PAGE_LOOK_ORDER = "Page_look_order";
    public static final String PAGE_PAY_AGAIN = "Page_pay_again";
    public static final String CLICK_GO_TO_SERVICE_LIST = "Click_go_to_service_list";
    public static final String HOME_CLICK_TO_SEARCH = "Home_Click_To_Search";
    public static final String HOME_CONTACT_SERVICE = "Home_contact_service";
    public static final String HOME_TOOL_QUERY_ENTERPRISE = "Home_Tool_QueryEnterprise";
    public static final String HOME_TOOL_QUERY_TRADEMARK = "Home_Tool_QueryTrademark";
    public static final String HOME_TOOL_NAME_COMPANY = "Home_Tool_NameCompany";
    public static final String HOME_CLICK_BILL = "Home_click_bill";
    public static final String HOME_TOOL_VERIFY_COMPANY_NAME = "Home_Tool_VerifyCompanyName";
    public static final String MINE_CLICK_MY_MESSAGE = "Mine_clike_my_message";
    public static final String MINE_CLICK_MY_COMPANY = "Mine_click_my_company";
    public static final String MINE_CLICK_USER_INFO = "Mine_click_userInfo";
    public static final String MINE_CLICK_MY_BILL = "Mine_click_my_bill";
    public static final String DIALOG_ATTR_BUY = "Dialog_attr_buy";
    public static final String PAGE_DETAILS_LIKE = "Page_details_like";
    public static final String PAGE_DETAILS_CONTACT_SERVICE = "Page_details_contact_service";
    public static final String PAGE_DETAILS_ORDER = "Page_details_order";
    public static final String CONTACT_CUSTOMER_SERVICE = "Contact_customer_service";
    public static final String CLICK_APPLY_BILL = "Click_apply_bill";

}
